import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'orderId',
    type: 'input',
    label: translate('orderNum')
  },
  {
    filed: 'memberName',
    type: 'input',
    label: translate('yhxx'),
    placeholder: translate('qsrfyyhsl')
  },
  {
    filed: 'shareName',
    type: 'input',
    label: translate('taskName'),
    placeholder: translate('qsrfxrwmc')
  }, {
    filed: 'payStatus',
    type: 'select',
    label: translate('orderStatus'),
    clearable: true,
    labelCode: 'name',
    options: []
  }, {
    filed: 'status',
    type: 'select',
    label: translate('fyzt'),
    clearable: true,
    options: [
      { value: '0', label: translate('dqr') },
      { value: '1', label: translate('loseEfficacy') },
      { value: '2', label: translate('yff') }
    ]
  }, {
    filed: 'time',
    type: 'daterange',
    placeholder: translate('xzrq'),
    clearable: true,
    start: translate('orderStartDate'),
    end: translate('orderEndDate')
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
